package com.acce.product.dao;

import java.util.List;

import com.acce.product.pojo.PurchaseList;
import com.acce.product.pojo.PurchaseHeader;

/** 
 * @ClassName: IPurchaseListDao 
 * @Description: 申购商品信息Dao
 * @author mahuang
 * @date 2016年7月19日 上午10:21:10 
 *  
 */
public interface IPurchaseListDao {
	
	public PurchaseHeader getPurchaseHeaderById(PurchaseHeader heaer);
	
	public List<PurchaseHeader> getPurchaseHeaderByCondition(PurchaseHeader heaer);

	public boolean insertPurchaseHeader(PurchaseHeader heaer);
	
	public boolean insertBatchPurchaseHeader(List<PurchaseHeader> heaeres);
	
	public boolean updatePurchaseHeader(PurchaseHeader heaer);
	
	public boolean updateBatchPurchaseHeader(List<PurchaseHeader> heaeres);
	
	public boolean deletePurchaseHeader(PurchaseHeader heaer);
	
	public PurchaseList getPurchaseListById(PurchaseList purchaseList);
	
	public List<PurchaseList> getPurchaseListByCondition(PurchaseList purchaseList);

	public boolean insertPurchaseList(PurchaseList purchaseList);
	
	public boolean insertBatchPurchaseList(List<PurchaseList> purchaseLists);
	
	public boolean updatePurchaseList(PurchaseList purchaseList);
	
	public boolean updateBatchPurchaseList(List<PurchaseList> purchaseLists);
	
	public boolean deletePurchaseList(PurchaseList purchaseList);
	
}
